SUBDIRS = aadlv2

EXTRA_DIST = $(srcdir)/Makefile.common

SAMPLE_DIR = ${shell $(CYGPATH_U) '$(OCARINA_PREFIX)/examples/ocarina/polyorb-hi-ada'}

install-data-local:
	$(INSTALL) -d $(DESTDIR)$(SAMPLE_DIR)

uninstall-local:
	rm -rf $(DESTDIR)$(SAMPLE_DIR)

debug-makefile:
	for dir in $(SUBDIRS); do \
	  $(MAKE) -C $${dir} debug-makefile; \
	done

all-local:
	@echo "TO BUILD EXAMPLES, YOU SHOULD ISSUE '$(MAKE) build-all'"

build-all:
	for dir in $(SUBDIRS); do \
	  ($(MAKE) -C $${dir} build-all) || exit 1; \
	done

check-all:
	for dir in $(SUBDIRS); do \
	  ($(MAKE) -C $${dir} check-all) || exit 1; \
	done
